import request from '../utils/request';
export async function createPersonnel(body) {
  return request('/api/personnel/create', {
    method: 'POST',
    body,
  });
}
export async function findPersonnelMany(body) {
  return request('/api/personnel/find/many', {
    method: 'POST',
    body,
  });
}

export async function updatePersonnel(body) {
  return request('/api/personnel/update', {
    method: 'POST',
    body,
  });
}
export async function deletePersonnel(body) {
  return request('/api/personnel/delete', {
    method: 'POST',
    body,
  });
}


export async function createDic(body) {
  return request('/api/personnel/dic/create', {
    method: 'POST',
    body,
  });
}
export async function findDicMany(body) {
  return request('/api/personnel/dic/find/many', {
    method: 'POST',
    body,
  });
}

export async function updateOneDic(body) {
  return request('/api/personnel/dic/update', {
    method: 'POST',
    body,
  });
}
export async function deleteOneDic(body) {
  return request('/api/personnel/dic/delete', {
    method: 'POST',
    body,
  });
}
export async function exportExcel(body) {
  return request('/api/personnel/dic/excel', {
    method: 'POST',
    body,
  });
}


